import api from '@/api/api'

export const login = (data) => {
  return api({
    url: '/auth/user/login',
    method: 'post',
    data,
  })
}